package com.cs.study.homework._0309.test;

import java.io.IOException;
import java.net.DatagramSocket;

public class AnotherPerson {
    public static void main(String[] args)throws IOException {
        DatagramSocket datagramSocket = new DatagramSocket(4321);
        new Thread(new SendTask(datagramSocket,"192.168.5.25",1234)).start();
        new Thread(new ReceiveTask(datagramSocket)).start();
    }
}
